Change SV Server security settings
This section explains how to change server security settings after installing the Service Virtualization Server.
Server security settings overview
If you choose to change security settings after installing the Service Virtualization Server, you must manually edit the HP.SV.StandaloneServer.exe.config configuration file. The file is located in the <Service Virtualization Server installation directory>\Server\bin subdirectory.
By default, the Server installation path is C:\Program Files\Micro Focus\Service Virtualization Server. In the system.serviceModel configuration section, you must edit the settings for the exposed REST management service.
Disable authentication for REST management service configuration
To disable authentication, set the following:
-
Under the restManagementServiceConfiguration element, set the aclEnabled attribute to false.
-
Make sure that the url attribute contains the HTTP address. We recommended using port with the default value, 6080.
-
After reconfiguration, restart the Service Virtualization Server.
-
To enable the new configuration, you must redirect all of your projects to the updated URL. For details, see the Change Server Dialog Box.
Copy code<configuration>
...
<restManagementServiceConfiguration
certificatePath="C:\ProgramData\Micro Focus\Service Virtualization Server\ConfigurationTools\certificates\server-cert.p12"
certificatePassword="changeit"
url="http://+:6080/management" aclEnabled="false" />
...
</configuration>
Enable authentication for REST management service configuration
To enable authentication, set the following:
-
Under the restManagementServiceConfiguration element, set the aclEnabled attribute to true.
-
Make sure that the url attribute contains the HTTPS address. We recommended using port with the default value, 6085.
-
After reconfiguration, restart the Service Virtualization Server.
-
To enable the new configuration, you must redirect all of your projects to the updated URL. For details, see the Change Server Dialog Box.
Copy code<configuration>
...
<restManagementServiceConfiguration
certificatePath="C:\ProgramData\Micro Focus\Service Virtualization Server\ConfigurationTools\certificates\server-cert.p12"
certificatePassword="changeit"
url="https://+:6085/management" aclEnabled="true" />
...
</configuration>